package com.vito.oa.email.service;

public interface IEmailMbeanService {
	/**
	 * 创建邮箱
	 * 
	 * @param nameSpace
	 * @param userName
	 * @param mailBoxName
	 * @return boolean
	 */
	public int createEmailBox(String nameSpace, String userName, String mailBoxName, String[] user, String JMXServiceURL);

	/**
	 * 新增用户
	 * 
	 * @param userName
	 * @param password
	 * @return boolean
	 */
	public int addUser(String userName, String password, String[] user, String JMXServiceURL);

	/**
	 * 删除邮箱
	 * 
	 * @param nameSpace
	 * @param userName
	 * @param mailBoxName
	 * @return boolean
	 */
	public int deleteMailBox(String nameSpace, String userName, String mailBoxName, String[] user, String JMXServiceURL);

}
